package com.example.gamestore.mapper;

import com.example.gamestore.pojo.ShoppingCart;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface ShoppingCartMapper {
    int add(ShoppingCart shoppingCart);

    List<ShoppingCart> getByUserId(Long userId);

    void delete(Long id);

    void deleteByGameId(Long id);
}